package rkw.communication;


public class MessageReceiver extends core.communication.MessageReceiver<CommunicationManager> {

	protected MessageReceiver(String name, CommunicationManager communicationManager) {
		super(name, communicationManager);
	}

//	@Override
//	protected void handleConfigurationMessage(Message message) {
//		try {
//			CommunicationManager.getInstance().setPrefferedParentURI(((ConfigurationMessage) message).getPrefferedParentURI());
//
//			for (ConfigurationNode node : ((ConfigurationMessage) message).getTopNodes()) {
//				CommunicationManager.getInstance().addClient(node.getIp(), node.getPort(), node.getType(), Direction.UP);
//			}
//		} catch (BindException e) {
//			// TODO Auto-generated catch block
//			e.printStackTrace();
//		}
//	}

}
